using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using XjjXmm.Infrastructure.Repository;

namespace Blog.Repository.Permission;



/// <summary>
/// 权限
///</summary>
public interface IPermissionRepository : IRepositoryBase<PermissionEntity>
{
    Task<IEnumerable<PermissionEntity>> GetDotPermissionByUserId(long userId);
    Task<List<PermissionEntity>> GetMenuPermissionByUserId(long userId);
    Task<object> GetPermissionList();
}

